{% extends "base.html" %}
{% block content %}
    <div class="container">
        <div class="row" style="margin-top: 20px;">
            <div class="col-3"></div>
            <div class=" col-md-6 col-md-offset-3">
                <h2 align="center">用户信息</h2>
                <div class="form-group">
                    <label for="username">用户名</label>
                    <input type="text" class="form-control" id="username" name="username" readonly
                           value="{{ current_user.username }}">
                </div>
                <div class="form-group">
                    <label for="email">邮箱</label>
                    <input type="text" class="form-control" id="email" name="email" readonly
                           value="{{ current_user.email }}">
                </div>
                <div class="form-group">
                    <label for="join_time">加入时间</label>
                    <input type="text" class="form-control" id="join_time" name="join_time" readonly
                           value="{{ current_user.join_time }}"></input>
                </div>
            </div>
            <div class="col-3"></div>
            <div class="col-3"></div>
        </div>
    </div>
{% endblock %}